package com.ssy.lingxi.order.model.vo.mobile.response;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 查看业务员个人业绩统计返回前端页面VO
 * @author 郑小翠
 * @version 2.02.18
 * @date 2022-03-25
 */
@Data
public class MobileAchievementCountQueryVO {

    /**
     * 主键Id
     */
    private Long id;

    /**
     * 业务员Id
     */
    private Long memberUserId;

    /**
     * 统计月份
     */
    private LocalDate monthStatistical;

    /**
     * 订单下单金额
     */
    private BigDecimal amountPayable;

    /**
     * 下单会员数
     */
    private Long memberCount;

    /**
     * 下单角色数
     */
    private Long roleIdCount;

    /**
     * 订单数量
     */
    private Long orderCount;

    /**
     * 品类数量
     */
    private Long categoryCount;

    /**
     * 已收款总金额
     */
    private BigDecimal amountPaid;

    /**
     * 商品数量
     */
    private Long commodityCount;

    /**
     * 售后退款额
     */
    private BigDecimal refundAmount;

    public MobileAchievementCountQueryVO(Long memberUserId, BigDecimal amountPayable, Long memberCount, Long orderCount, Long categoryCount, BigDecimal amountPaid, Long commodityCount, BigDecimal refundAmount) {
        this.memberUserId = memberUserId;
        this.amountPayable = amountPayable;
        this.memberCount = memberCount;
        this.orderCount = orderCount;
        this.categoryCount = categoryCount;
        this.amountPaid = amountPaid;
        this.commodityCount = commodityCount;
        this.refundAmount = refundAmount;
    }


    public MobileAchievementCountQueryVO() {
    }
}
